package me.luger.core.dao.nutz.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * Nutz
 *
 * @author luger
 * @date 2016/11/9 0009
 */
//@Table("nutz")
public class NutzDemoEntity extends BaseEntity {
    @Id
    @Column("id")
    private Long id;

    @Column("name")
    private String name;

    @Column("test")
    private Integer test;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTest() {
        return test;
    }

    public void setTest(Integer test) {
        this.test = test;
    }

    public NutzDemoEntity(String name, Integer test) {
        this.name = name;
        this.test = test;
    }

    public NutzDemoEntity() {
    }
}
